package model

type coinSearchTagModel struct {}

var CoinSearchTagModel = new(coinSearchTagModel)

func (m *coinSearchTagModel) FindAll() ([]*CoinSearchTag, error) {
	var tags []*CoinSearchTag
	err := MainDB.Find(&tags)
	if err != nil {
		return nil, err
	}
	return tags, nil
}
